package cn.com.shopec.erp.purchase.model;

import java.io.Serializable;
import java.util.List;

/** 
 * @ClassName: PurchaseOrderDetail 
 * @Description: 采购单明细Model类
 * @author: lule
 * @date 2013-5-27 下午1:51:35
 *  
 */

public class PurchaseOrderDetail extends PurchaseOrderInfo implements Serializable {
	
	private static final long serialVersionUID = 677936925046260085L;

	/** 采购单的基本信息，沿用PurchaseOrderInfo类 **/
	/** 采购单的商品 **/
	private List<PoProductInfo> poProducts;
	/** 采购单的审核历史记录 **/
	private List<PoAuditHistoryInfo> poAuditHistories;
	/** 
	 * @return poProducts 
	 */
	
	public List<PoProductInfo> getPoProducts() {
		return poProducts;
	}
	/**
	 * @param poProducts the poProducts to set
	 */
	public void setPoProducts(List<PoProductInfo> poProducts) {
		this.poProducts = poProducts;
	}
	/** 
	 * @return poAuditHistories 
	 */
	
	public List<PoAuditHistoryInfo> getPoAuditHistories() {
		return poAuditHistories;
	}
	/**
	 * @param poAuditHistories the poAuditHistories to set
	 */
	public void setPoAuditHistories(List<PoAuditHistoryInfo> poAuditHistories) {
		this.poAuditHistories = poAuditHistories;
	}
	/* (no-Javadoc) 
	 * <p>Title: toString</p> 
	 * <p>Description: </p> 
	 * @return 
	 * @see java.lang.Object#toString() 
	 */
	
	@Override
	public String toString() {
		return "PurchaseOrderDetail [infos=" + super.toString() + ", poProducts=" + poProducts
				+ ", poAuditHistories=" + poAuditHistories + "]";
	}
	
	
}
